home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_429_a20B < prev    next >
Unknown  |  1994-09-22  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 2a 00 00 00 00 00 00 | 00 2a 61 32 30 42 00 00 |.*......|.*a20B..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 10 47 65 74 43 6f | 6e 74 65 6e 74 4f 72 69 |...GetCo|ntentOri|
|00000060| 67 69 6e 00 00 06 00 00 | 00 00 00 92 00 00 00 00 |gin.....|........|
|00000070| 00 00 00 92 00 00 00 14 | 03 c1 00 28 05 7e 00 ff |........|...(.~..|
|00000080| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 1c 00 00 |........|....N...|
|00000090| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|000000a0| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|000000b0| 10 6b 53 63 72 65 65 6e | 41 50 49 2f 31 39 39 39 |.kScreen|API/1999|
|000000c0| 36 00 06 47 65 6e 65 76 | 61 00 00 38 76 6f 69 64 |6..Genev|a..8void|
|000000d0| 20 47 65 74 43 6f 6e 74 | 65 6e 74 4f 72 69 67 69 | GetCont|entOrigi|
|000000e0| 6e 28 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |n(Window|Ptr wind|
|000000f0| 6f 77 2c 20 50 6f 69 6e | 74 20 2a 63 6f 6e 74 4f |ow, Poin|t *contO|
|00000100| 72 67 29 3b 00 00 00 06 | 00 00 00 00 00 8d 00 00 |rg);....|........|
|00000110| 00 00 00 00 00 8d 00 00 | 00 00 03 c1 00 14 05 7e |........|.......~|
|00000120| 00 ff 00 00 00 00 00 00 | 0f a8 00 00 00 00 4e 1d |........|......N.|
|00000130| 00 00 00 09 00 00 00 04 | 00 04 ff fc ff fa 00 04 |........|........|
|00000140| 00 04 ff fc ff fc 00 00 | 00 00 00 00 00 00 83 00 |........|........|
|00000150| 0b 40 14 6b 53 63 72 65 | 65 6e 4f 6e 65 4c 69 6e |.@.kScre|enOneLin|
|00000160| 65 2f 31 39 39 39 37 00 | 06 47 65 6e 65 76 61 00 |e/19997.|.Geneva.|
|00000170| 00 2f 52 65 74 75 72 6e | 20 74 68 65 20 6f 72 69 |./Return| the ori|
|00000180| 67 69 6e 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 65 |gin of t|he conte|
|00000190| 6e 74 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |nt of th|e window|
|000001a0| 2e 00 00 00 06 00 00 00 | 00 00 44 00 00 00 00 00 |........|..D.....|
|000001b0| 00 00 44 00 00 00 00 02 | 6b 04 40 02 6c 01 00 00 |..D.....|k.@.l...|
|000001c0| 00 00 00 00 01 0f f1 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 0c 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 06 00 00 00 00 00 81 00 |........|........|
|00000200| 00 00 00 00 00 00 81 00 | 00 00 00 02 6b 02 28 03 |........|....k.(.|
|00000210| c1 00 ff 00 00 00 00 00 | 00 0f a8 00 00 00 00 4e |........|.......N|
|00000220| 16 00 00 00 09 00 00 00 | 04 00 04 ff fc ff fa 00 |........|........|
|00000230| 04 00 04 ff fc ff fc 00 | 00 00 00 00 00 00 00 83 |........|........|
|00000240| 00 0b 40 0b 6c 69 6e 6b | 73 2f 31 39 39 39 30 00 |..@.link|s/19990.|
|00000250| 06 4d 6f 6e 61 63 6f 00 | 00 16 61 32 42 43 2c 53 |.Monaco.|..a2BC,S|
|00000260| 65 74 43 6f 6e 74 65 6e | 74 4f 72 69 67 69 6e 0d |etConten|tOrigin.|
|00000270| 00 16 00 01 00 00 00 00 | 00 10 00 0c 00 01 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 06 00 00 00 00 03 09 |........|........|
|00000290| 00 00 00 00 00 00 03 09 | 00 00 00 00 00 00 75 30 |........|......u0|
|000002a0| 02 6b 01 ff 00 00 00 00 | 00 00 0f a8 00 00 00 00 |.k......|........|
|000002b0| 4e 1f 00 00 00 09 00 00 | 00 04 00 04 ff fc ff fa |N.......|........|
|000002c0| 00 04 00 04 ff fc ff fc | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 83 00 0b 40 0a 62 6f 64 | 79 2f 31 39 39 39 39 00 |...@.bod|y/19999.|
|000002e0| 06 4d 6f 6e 61 63 6f 00 | 02 77 76 6f 69 64 20 47 |.Monaco.|.wvoid G|
|000002f0| 65 74 43 6f 6e 74 65 6e | 74 4f 72 69 67 69 6e 28 |etConten|tOrigin(|
|00000300| 57 69 6e 64 6f 77 50 74 | 72 20 77 69 6e 64 6f 77 |WindowPt|r window|
|00000310| 2c 20 50 6f 69 6e 74 20 | 2a 63 6f 6e 74 4f 72 67 |, Point |*contOrg|
|00000320| 29 3b 0d 0d 20 20 20 20 | 46 69 6c 65 3a 20 57 69 |);.. |File: Wi|
|00000330| 6e 64 6f 77 32 2e 68 0d | 0d 49 4e 50 55 54 3a 20 |ndow2.h.|.INPUT: |
|00000340| 20 77 69 6e 64 6f 77 0d | 4f 55 54 50 55 54 3a 20 | window.|OUTPUT: |
|00000350| 63 6f 6e 74 4f 72 67 0d | 0d 54 68 69 73 20 66 75 |contOrg.|.This fu|
|00000360| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 73 20 74 |nction r|eturns t|
|00000370| 68 65 20 6f 72 69 67 69 | 6e 20 6f 66 20 74 68 65 |he origi|n of the|
|00000380| 20 63 6f 6e 74 65 6e 74 | 20 6f 66 20 74 68 65 20 | content| of the |
|00000390| 77 69 6e 64 6f 77 2e 20 | 20 54 68 65 20 76 61 6c |window. | The val|
|000003a0| 75 65 0d 69 73 20 67 6f | 74 74 65 6e 20 66 72 6f |ue.is go|tten fro|
|000003b0| 6d 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 76 61 |m the cu|rrent va|
|000003c0| 6c 75 65 20 6f 66 20 74 | 68 65 20 64 6f 63 75 6d |lue of t|he docum|
|000003d0| 65 6e 74 20 73 63 72 6f | 6c 6c 62 61 72 73 2e 20 |ent scro|llbars. |
|000003e0| 20 49 66 20 61 20 73 63 | 72 6f 6c 6c 62 61 72 0d | If a sc|rollbar.|
|000003f0| 69 73 20 6d 69 73 73 69 | 6e 67 2c 20 74 68 65 20 |is missi|ng, the |
|00000400| 63 6f 6e 74 72 6f 6c 20 | 76 61 6c 75 65 20 66 6f |control |value fo|
|00000410| 72 20 74 68 61 74 20 73 | 63 72 6f 6c 6c 62 61 72 |r that s|crollbar|
|00000420| 20 69 73 20 61 73 73 75 | 6d 65 64 20 74 6f 20 62 | is assu|med to b|
|00000430| 65 20 30 2e 20 20 4e 6f | 74 65 20 74 68 61 74 0d |e 0. No|te that.|
|00000440| 69 66 20 79 6f 75 20 68 | 61 76 65 20 73 69 64 65 |if you h|ave side|
|00000450| 62 61 72 73 20 69 6e 20 | 79 6f 75 72 20 64 6f 63 |bars in |your doc|
|00000460| 75 6d 65 6e 74 2c 20 74 | 68 65 20 6f 72 69 67 69 |ument, t|he origi|
|00000470| 6e 20 76 61 6c 75 65 20 | 68 61 73 20 74 68 65 20 |n value |has the |
|00000480| 73 69 64 65 62 61 72 20 | 76 61 6c 75 65 0d 73 75 |sidebar |value.su|
|00000490| 62 74 72 61 63 74 65 64 | 2e 20 20 46 6f 72 20 65 |btracted|. For e|
|000004a0| 78 61 6d 70 6c 65 3a 20 | 20 59 6f 75 20 68 61 76 |xample: | You hav|
|000004b0| 65 20 61 20 74 6f 70 20 | 73 69 64 65 62 61 72 20 |e a top |sidebar |
|000004c0| 6f 66 20 33 32 20 70 69 | 78 65 6c 73 2c 20 61 6e |of 32 pi|xels, an|
|000004d0| 64 20 74 68 65 20 76 65 | 72 74 69 63 61 6c 0d 73 |d the ve|rtical.s|
|000004e0| 63 72 6f 6c 6c 62 61 72 | 20 68 61 73 20 61 20 63 |crollbar| has a c|
|000004f0| 6f 6e 74 72 6f 6c 20 76 | 61 6c 75 65 20 6f 66 20 |ontrol v|alue of |
|00000500| 30 2e 20 20 54 68 69 73 | 20 77 69 6c 6c 20 72 65 |0. This| will re|
|00000510| 74 75 72 6e 20 79 6f 75 | 20 61 20 76 65 72 74 69 |turn you| a verti|
|00000520| 63 61 6c 20 6f 72 69 67 | 69 6e 0d 6f 66 20 2d 33 |cal orig|in.of -3|
|00000530| 32 2e 0d 0d 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 0d 0d |2...____|______..|
|00000540| 41 6c 73 6f 20 73 65 65 | 3a 20 20 20 53 65 74 43 |Also see|: SetC|
|00000550| 6f 6e 74 65 6e 74 4f 72 | 69 67 69 6e 2e 20 0d 0d |ontentOr|igin. ..|
|00000560| 0d 00 3e 00 03 00 00 00 | 00 00 0b 00 09 00 04 00 |..>.....|........|
|00000570| 00 00 09 00 00 00 00 00 | 00 00 00 02 62 00 0b 00 |........|....b...|
|00000580| 09 00 04 05 00 00 09 00 | 00 00 00 00 00 00 00 02 |........|........|
|00000590| 72 00 0b 00 09 00 04 00 | 00 00 09 00 00 00 00 00 |r.......|........|
|000005a0| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+